package com.liner.animal;

/**
 * Chick类
 */
public class Chick extends Animal {

    public Chick(String name, int age, String color) {
        super(name, age, color);
    }

    void layEggs() {
        System.out.println(name + "在下蛋...");
    }

    @Override
    void eat() {
        System.out.println(name + "在吃小米...");
    }

    void sleep() {
        System.out.println(name + "在睡觉...");
    }

}
